package com.webcash.CNBoard.Repository;

import java.util.List;

import org.apache.ibatis.session.SqlSession;
import org.mybatis.spring.support.SqlSessionDaoSupport;
import org.springframework.stereotype.Repository;

import com.webcash.CNBoard.Model.Team;

@Repository
public class DepartmentTeamRepositoryImpl extends SqlSessionDaoSupport implements DepartmentTeamRepository{

	public List<Team> getTeamListbyDeptNo(int deptNo) {
		SqlSession session = getSqlSession();
		
		return session.selectList("Team.selectTeamListByDeptNo",deptNo);
	}

}
